-- $Header: //info.ravenbrook.com/project/jili/version/1.1/test/mnj/lua/putnum.lua#1 $
-- Test to use LuaTable.putnum a lot.
local N = ... or 999
local t
local t0 = os.clock()
for i = 1,N do
  t = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  t = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
      1, 2, 3, 4, 5, 6, 7, 8, 9 }
  t = {
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9,10,
      1,2,3,4,5,6,7,8,9
  }
end
local t1 = os.clock()
print('putnum', t1-t0)
